appchooserdialog: Don't show broken subtitles
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 1 May 2020 15:01:34 +0000 (17:01 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 1 May 2020 16:21:53 +0000 (18:21 +0200)
commit3f1bd3722dd3374bef07346138a0ed9e95d3b9fe
treef3ef74816721f9cb5b5a66f1a9fb6366649e20e8
parent4822e02be349cb0b98656f79a43fb860b3bcfc40
appchooserdialog: Don't show broken subtitles

Commit 07beb6dba29 made GtkAppChooserWidget useful with no content-type,
however when used in a GtkAppChooserDialog, this will lead to a confusing
"Opening (null) files" subtitle.

Fix this by omitting the subtitle altogether in that case.
gtk/gtkappchooserdialog.c